<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script language="JavaScript" type="text/javascript" src="js/ajax_page.js"></script>
<script type="text/javascript">
	function teste(){
		alert("teste");
		loginAjax();
		alert("fim teste");
	}
	function validateEmptyLogin(){
		
	}
</script>
<title>Login</title>
</head>
<body>

<jsp:include page="js/ajax_page.js" />

	<h6>Login</h6><br><br>
	
	
	<form id="login_form" method="post" action="LoginController.action">
		Username:<input name="username" type="text"></input><br>
		Password:<input name="password" type="password"></input><br>
		<input id="bt_login" type="submit" value="Login" onkeypress="javascript:teste()"></input><br>	
	</form>



</body>
</html>